package com.chentf.structural.bridge.demo01;

/**
 * 抽象类子类：直立手机
 */
public class UpRightPhone extends Phone{

    /**
     * 构造器
     *
     * @param brand
     */
    public UpRightPhone(Brand brand) {
        super(brand);
    }

    public void close() {
        System.out.println("直立式手机关机");
        super.close();
    }

    public void open() {
        System.out.println("直立式手机开机");
        super.open();
    }

    public void call() {
        System.out.println("直立式手机打电话");
        super.call();
    }
}
